<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        *{
            border:1px solid red;
        }
    </style>
</head>
<body>
<div onclick="alert('div')">
    <p onclick="alert('p')">
        <input onclick="alert('按钮')" type="button" value="按钮">
    </p>
</div>
</body>
</html>